package com.Entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * InviteMemberInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "inviteMemberInfo", catalog = "smartsofa")
public class InviteMemberInfo implements java.io.Serializable {

	// Fields

	private Integer inviteMemberId;
	private Integer inviteUserId;
	private Integer familyId;
	private Integer userId;
	private Date inviteTime;
	private String verifyMsg;
	private short status;
	private short message;

	// Constructors

	/** default constructor */
	public InviteMemberInfo() {
	}

	/** full constructor */
	public InviteMemberInfo(Integer inviteUserId, Integer familyId,
			Integer userId, Date inviteTime, String verifyMsg, short status,
			short message) {
		this.inviteUserId = inviteUserId;
		this.familyId = familyId;
		this.userId = userId;
		this.inviteTime = inviteTime;
		this.verifyMsg = verifyMsg;
		this.status = status;
		this.message = message;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "inviteMemberId", unique = true, nullable = false)
	public Integer getInviteMemberId() {
		return this.inviteMemberId;
	}

	public void setInviteMemberId(Integer inviteMemberId) {
		this.inviteMemberId = inviteMemberId;
	}

	@Column(name = "inviteUserId")
	public Integer getInviteUserId() {
		return this.inviteUserId;
	}

	public void setInviteUserId(Integer inviteUserId) {
		this.inviteUserId = inviteUserId;
	}

	@Column(name = "familyId")
	public Integer getFamilyId() {
		return this.familyId;
	}

	public void setFamilyId(Integer familyId) {
		this.familyId = familyId;
	}

	@Column(name = "userId")
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "inviteTime", length = 8)
	public Date getInviteTime() {
		return this.inviteTime;
	}

	public void setInviteTime(Date inviteTime) {
		this.inviteTime = inviteTime;
	}

	@Column(name = "verifyMsg", length = 200)
	public String getVerifyMsg() {
		return this.verifyMsg;
	}

	public void setVerifyMsg(String verifyMsg) {
		this.verifyMsg = verifyMsg;
	}

	@Column(name = "status")
	public short getStatus() {
		return this.status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	@Column(name = "message")
	public short getMessage() {
		return this.message;
	}

	public void setMessage(short message) {
		this.message = message;
	}

}